import request from '../utils/request.js'

// 获取分类数据
export const getCategory = () => {
	return request.get('/api/getcategory')
}

// 获取分类商品列表数据
export const getCategoryGoodList = (category_id) => {
	return request.get(`/api/getcategorygoods?category_id=${category_id}`)
}